<div class="center">
<table class="centered medium-table full">
<?php

    $query = getAllAktualizace();
    $idx = 0;
    while($fetch = MySQL_Fetch_Array($query)) {
      echo "<tr><th class='link lefted'><a onclick=\"changeVisibility('v".$idx."')\"'>Verze ".$fetch["VERZE"]."<span style='font-weight: normal'> (vydáno ".DateFormat::format($fetch["DATUM"], DF_DDMMYYYY).")</span></a></th></tr>";
      echo "<tr id='v".$idx."' ";
      if($idx > 0) echo "class='novisible'";
      echo ">";
        echo "<td class='lefted'>".$fetch["OBSAH"]."</td>";
      echo "</tr>";
      $idx ++;
    }
?>
</table>
</div>